package database

import (
	"github.com/garyburd/redigo/redis"
	"log"
)

var RedisConn redis.Conn

func init() {
	var err error
	RedisConn, err = redis.Dial("tcp", "127.0.0.1:6379")
	if err != nil {
		log.Fatal(err.Error())
	}
}
